package com.chixing.day12_date_factory;

public class PointerTest {
    public static void main(String[] args) {
        Pointer<Integer> p1 = new Pointer<>();
        p1.setX(10);
        p1.setY(21);

        Pointer<Integer> p2 = new Pointer<>();

        Pointer<Double> p3 = new Pointer<>();
        p3.setX(34.1);
        p3.setY(23.1);

        Pointer<String> p4 = new Pointer<>("东经111度","北纬233度");

        fun(10,"nn");
    }
    public static  void fun(int a,String b){

    }
}
